function printTable( vTable, vLevel )
	if type(vTable) ~= "table" then
		System.trace( vTable )
		return
	end 
	local indent ="" -- i缩进，当前调用缩进
	if vLevel == nil then
		vLevel = 0
	end
	
	for i = 1, vLevel do
		indent = indent.." "
	end
	
	local tHasElm = false
	for k, v in pairs( vTable ) do
		if tHasElm == false then
			System.trace( indent.."{" )
			tHasElm = true
		end
		if type( v ) == "table" then -- type(v) 当前类型时否table 如果是，则需要递归，
			System.trace( indent.." " .. "[" .. k .. "]" )
			printTable( v, vLevel + 1 )
		else -- 否则直接输出当前值
			System.trace( indent.." " .. "[" .. k .. "] = [" ..tostring( v ).."]" )
		end
	end

	if tHasElm == true then
		System.trace( indent.."}" )
	end
end

function splitString( vText, vSplit, vLength )
	if vLength == nil then
		vLength = string.len( vSplit )
		System.trace(" vLength = "..tostring(vLength))
		System.trace(" vText = "..tostring(vText))
	end

	local tTextSet = {}
	local tStartIndex = 0
	local tLength = string.len( vText )
	while tStartIndex <= tLength do
		local tFindSI, tFindEI = string.find( vText, vSplit, tStartIndex )
		if tFindEI == nil then
			tFindEI	= tLength + vLength
		end

		local tTextItem = string.sub( vText, tStartIndex, tFindEI - vLength )
		table.insert( tTextSet, tTextItem )
		tStartIndex = tFindEI + 1
	end

	return tTextSet
end
